#ifndef LIB_H
#define LIB_H

#if defined(WIN32) && !defined(__MINGW32__)
#define LIB_IMPORT __declspec(dllimport)
#define LIB_EXPORT __declspec(dllexport)
#else
#define LIB_IMPORT
#ifdef GCC_HASCLASSVISIBILITY
#define LIB_EXPORT __attribute__ ((visibility("default")))
#else
#define LIB_EXPORT
#endif
#endif

#ifdef QR_EXPORT
#define QR_API LIB_EXPORT
#else
#define QR_API LIB_IMPORT
#endif 

#endif /* LIB_H */
